/**
 * 创建一个人类的父类
 只有公共的类才能被继承
*/
 package com.example.demo.day0221;


import static com.example.demo.day0220.Print.print;

public class Person {
    int age;
    String name;
    int sex;
    public void showInfo(){
        print(this.age);
        print(this.name);
        print(this.sex);
    }
}
